# syntax=docker/dockerfile:1

# Comments are provided throughout this file to help you get started.
# If you need more help, visit the Dockerfile reference guide at
# https://docs.docker.com/engine/reference/builder/

ARG NODE_VERSION=20.19.3


FROM node:${NODE_VERSION}-alpine

# WORKDIR /usr/app

# Use production node environment by default.
ENV NODE_ENV production

COPY . .

# Copy package.json so that package manager commands can be used.
# COPY  /usr/app/dist ./dist
# COPY package*.json . ./


# Expose the port that the application listens on.
EXPOSE 5090

# Run the application.
CMD yarn start:prod
